package org.zxp.thread.base;

/**
 * @program: zxp-thread-test
 * @description: ${description}
 * @author: X-Pacific zhang
 * @create: 2019-05-06 18:56
 **/
public class MyThread extends Thread {
    @Override
    public void run() {
        System.out.println(Thread.currentThread().getName());
    }
    public static void main(String[] args){
        MyThread myThread = new MyThread();
        myThread.setName("my");
        myThread.start();
    }
}
